Change side-window params to percentages
authorjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 15:12:19 +0000 (11:12 -0400)
committerjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 16:22:37 +0000 (12:22 -0400)
which-key.el

index aa4a2897605c8d0b3946c495ad46149b8eb95f8d..ace968ac4bf3a7d7bcf80b919791c9979b8bf78f 100644 (file)
@@ -76,12 +76,12 @@ the feature off.")
 (defvar which-key-side-window-location 'right
   "Location of which-key popup when `which-key-popup-type' is
 side-window.  Should be one of top, bottom, left or right.")
-(defvar which-key-side-window-max-width 60
+(defvar which-key-side-window-max-width 0.333
   "Maximum width of which-key popup when type is side-window and
 location is left or right.
 This variable can also be a number between 0 and 1. In that case, it denotes
 a percentage out of the frame's width.")
-(defvar which-key-side-window-max-height 20
+(defvar which-key-side-window-max-height 0.25
   "Maximum height of which-key popup when type is side-window and
 location is top or bottom.
 This variable can also be a number between 0 and 1. In that case, it denotes